<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
         let arr = ['关羽', '张飞', '程咬金', '吕布'];
        let arr1 = [];
        let arr2 = [];
          // 倒叙遍历数组，再将元素放入新数组。
          for (let i = arr.length - 1; i >= 0; i--) {
            // 倒序遍历
            // console.log(i, arr[i]);
            arr2[arr2.length] = arr[i];
        }
        console.log(arr2);
    </script>
</body>
</html>